* {
	box-sizing: border-box;
	border: 0;
	margin: 0;
	padding: 0;
	outline: none;
}

:root {
    --primary-isc2-color: #006852;
    --secondary-isc2-color: #95d600;
    --primary-isc2-font: 'Gill Sans', 'Open Sans', Verdana, Geneva, sans-serif; 
    --secondary-isc2-font: Avenir, 'Montserrat', Verdana, Geneva, sans-serif; 

}

:focus {
	outline: none;
}

::selection {
	background-color: var(--secondary-isc2-color);
	color: #464646;
}

::moz-focus-inner {
	border: 0;
}

html {
	font-size: 1.25em;
	background: #f8f8f8;
	scroll-behavior: smooth;
}

body {
	color: #464646;
	font-family: var(--primary-isc2-font);
}

body ::selection{
	color: #f8f8f8;
	background-color: var(--secondary-isc2-color);
}

a {
	color: var(--primary-isc2-color);
	transition-property: color;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
    cursor: pointer;
    text-decoration-style: double;
    text-underline-offset: .15rem;
}

a:hover, a:focus {
	color: #0C7D64;
}

a img{
    transition-property: opacity;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
}

a img:hover,
a:focus {
	opacity: .9;
}

p {
	text-align: justify;
    padding: 1em 2em;
    max-width: 120ch;
    margin: auto;
    vertical-align: top;
}

hr {
    margin: 2rem 0;
    height: 3px;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

h1 {
	text-align: center;
	color: var(--primary-isc2-color);
}

h1,h2,h3,h4,h5,h6, th {
    color: var(--primary-isc2-color);
	font-family: var(--secondary-isc2-font); 
    margin: 0px auto;
    padding: .25em 0px 0px 0px;
    display: inline-block;
    border-bottom: #464646 3px double;
    max-width: 90%;
}

img {
	max-width: 100%;
    height: auto;
	display: inline;
}

img ::selection, a img ::selection, img * ::selection, a img * ::selection {
	background: transparent;
}

ul {
    list-style-type: none;
}

#full-page {
	min-height: 100vh;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-around;
	align-content: space-around;
	flex-wrap: nowrap;
}

header {
    position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;
	box-shadow: 0 -10px 35px  90px #f8f8f8;
    background-color: var(--primary-isc2-color);
    background: -webkit-linear-gradient(#006852, #00513F); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#006852, #00513F); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#006852, #00513F); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#006852, #00513F); /* Standard syntax */ 
}

nav {
    color: var(--secondary-isc2-color);
    font-weight: normal;
}

nav a {
	color: #f8f8f8;
    text-decoration: none; 
}

nav a:hover, nav a:focus {
    color: var(--secondary-isc2-color);
}

.hamburger{
    display: none;
}

#menu_bar {
    display: none;
    padding: .5rem .5rem .5rem 200px;
    flex-direction: column;
}
            
#menu_bar li {
padding: .5rem 1rem;
text-align: right;
font-family: var(--secondary-isc2-font);
font-weight: 100;
}

.selected {
    text-shadow: 0 0 #fff;
}

#chapter-logo {
    position: absolute;
    margin: .5rem;
    z-index: 100;
    pointer-events: none;
    width: 150px;
}

#chapter-logo-wide {
    display: none;
}

main {
    padding: 150px 0px 2em 0px;
    background-image: url('../img/tv-lines.png');
    flex: 1;
    text-shadow: 0 0 1px #fff;
}

main p {
    line-height: 1.5rem;
}

main a {
	font-family: var(--primary-isc2-font);
    font-weight: 500;
    text-shadow: 0 0 1px #B4F028;
}

main ul {
    list-style: circle outside;
    margin: 0 1.5rem;
}

main ol {
    margin: 0 1.5rem;
}

main li {
    margin: .5em 0;
}

main li::marker {
    color:var(--primary-isc2-color);
}

.flex_box_medium, .flex_box_large {
	padding: 0;
	max-width: 160ch;
	margin: auto;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex_box_medium > div, flex_box_large > div {
		display: flex;
		flex-direction: column;
}
.boundbox {
    max-width: 1024px;
    margin: auto;
}


.flex_box_sm {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
    text-align: justify;
    align-items: stretch;
    justify-content: center;
    margin: 1em 2em 3em;
}

.leftbox, .rightbox {
    margin: auto;
    max-width: 110ch;
}

.articlebox {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin: 1em;
    gap: 1em;
    position: relative;
}
.articlebox img {
    width: 100%;
}

.articlebox p {
    padding: 0 0 .5em 0;

}

.action_list{
    display: grid;
    font-size: 1.8rem;
    text-align: right;
    gap: .5rem;
    margin: 0 2rem;
    text-transform: uppercase;
}

.action_item {
    opacity: 0;
    transition: opacity 1s ease;
}

.action_item:nth-child(2) {
    transition-delay: 250ms;
}

.action_item:nth-child(3) {
    transition-delay: 500ms;
}

.action_item:nth-child(4) {
    transition-delay: 750ms;
}

.zoom {
    opacity: 1;
}

.calloutbox {
    background-color: #fff;
    border: var(--secondary-isc2-color) 2px solid;
    border-radius: 10px;
    max-width: 80ch;
    margin: 1em;
    padding: 2em;
    box-shadow: .5em .5em 0px 0px rgb(149, 214, 0, 50%);
}

.calloutbox p {
    padding: .5em 0px 1em 0px;
}

.button {
    margin: 1em auto;
    color: #f8f8f8;
    background-color: var(--primary-isc2-color);
    border: #00513F 1px solid;
    border-radius: .5em;
    padding: 1em 1.5em;
    width: 90%;
    text-align: center;
	transition-property: color, background-color, border-radius;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
}

.button:hover, .button:focus {
	color: #fff;
    background-color: #0C7D64;
    border-radius: 2em;
}

/* Style the tab */
.tabbar {
    display: flex;
    overflow: hidden;
    margin: 0 1rem;
    position: relative;
    border-radius: 1rem 1rem 0 0;
    box-shadow: .5rem .5rem 0px 0px rgb(149, 214, 0, 50%);
  }
  
  /* Style the buttons that are used to open the tab content */
  .tabbar button {
    background-color: #fff;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: .5rem 2rem;
    border: 2px solid var(--secondary-isc2-color);
    border-bottom: 0;
    border-radius: 1rem 1rem 0 0;
    color: #464646;
    font-family: var(--secondary-isc2-font);
    font-size: 1rem;
    transition-property: background-color;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
    width: 50%;
  }
  
  /* Change background color of buttons on hover */
  .tabbar button:hover {
    background-color: rgb(149, 214, 0, 50%);
  }
  
  /* Create an active/current tablink class */
  .tabbar button.active {
    background-color: rgb(149, 214, 0);
    font-weight: bold;
    color: var(--primary-isc2-color);
    text-shadow: 1px 1px 0 var(--secondary-isc2-color);
    cursor: default;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
  }

  .tabbox {
    background-color: #fff;
    border: var(--secondary-isc2-color) 2px solid;
    border-radius: 0 0 2rem 2rem;
    box-shadow: .5rem .5rem 0px 0px rgb(149, 214, 0, 50%);
    margin: 0 1rem 2rem;
    position: relative;
  }

#recommendedVideos {
    display: none;
}

#chapterVideos {
    display: flex;
}

.video_box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: space-evenly;
    flex-wrap: wrap;
    margin: 1em auto;
    max-width: 560px;
    padding: .5em 1em;
}

.video_box p {
    padding: 1em 0;
    clear: both;
}

.youtubevid {
    display: block;
    max-width: 560px;
    max-height: 315px;
    width: 100%;
    height: auto;
    aspect-ratio: 112/63;
    border: 3px double #464646;
}

.vidtitle {
    color: var(--primary-isc2-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin: .25em 0 0 0;
}

.viddate {
    margin: 0 1em;
    color: #999;
    float: right;
}

.smbox {
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
    gap: 1em;
    padding: 1.25rem;
    background-color: #f8f8f8;
    background: -webkit-linear-gradient(#fff, #ececec); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#fff, #ececec); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#fff, #ececec); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#fff, #ececec); /* Standard syntax */ 
    border: 3px double #464646;
    border-radius: 2rem;
    box-shadow: 2px 2px .5rem rgb(0, 0, 0, 50%);
}

.smbox img {
    max-width: 4em;
}

.smbox span {
    max-width: 80ch;
}

.newsbox {
    margin: 0 auto 2rem;
    padding: 1.25rem clamp(2rem, 15%, 5rem);
    color: var(--primary-isc2-color);
}

.newsbox ul {
    list-style-type: circle;
}

.unbound {
    width: 100%;
    padding: 2em 1em;
    margin: 4em 0;
}

.greenbox {
    background-color: var(--primary-isc2-color);
    background: -webkit-linear-gradient(#006852, #00513F); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#006852, #00513F); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#006852, #00513F); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#006852, #00513F); /* Standard syntax */ 
    color: #f8f8f8;
    text-align: center;
    text-shadow: 0 0 1px #000;
}

.greenbox a {
    color: var(--secondary-isc2-color);
}

.greenbox a:hover, .greenbox a:focus {
    color: #B4F028;
}

.greenbox h1 {
    color: #f8f8f8;
    border-color: #f8f8f8;
}

.flex_box_profiles {
    display: flex;
	padding: 0;
	max-width: 160ch;
	margin: auto;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex_box_profiles > div {
		display: flex;
		flex-direction: column;
}

.profilebox {
    margin: 1em auto;
    padding: 1em 2.5em;
}

.profilephoto {
    border: #f8f8f8 .25em solid;
    width: 200px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: auto;
}

.profilename {
    font-size: 1.1rem;
    margin: auto;
} 
.profiletitle, .profileemail {
    margin: auto;
    color: #bbb;
}

footer {
    padding: 2em 0px;
	background-color: #333;
	background: -webkit-linear-gradient(#444, #212121); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#444, #212121); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#444, #212121); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#444, #212121); /* Standard syntax */ 
	color: #aaa; 
	text-shadow: 0px 1px 1px #000; 
	font-size: .8rem;
	text-align: center;
}

footer p {
    line-height: 1.1rem;
}

.iconbar {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
    margin: .5em 1em;
}

.iconbar img{
    width: 4em;
    opacity: .9;
    border: 1px solid #333;
    border-radius: 50%;
    box-shadow: none;
    transition-property: opacity, box-shadow, border-color;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
}

.iconbar img:hover, .iconbar img:focus{
    opacity: 1;
    box-shadow: 0 0 1em -1px #777;
    border-color: #555;
}



/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
 .hamburger {
    padding: .8em .5em;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    text-align: right;
    background-color: transparent;
    border: 0;
    margin: 0;
    width: 100%;
    overflow: visible;
}
    .hamburger:hover, .hamburger:focus {
      opacity: 1; }
    .hamburger.is-active:hover {
      opacity: 1; }
    .hamburger.is-active .hamburger-inner,
    .hamburger.is-active .hamburger-inner::before,
    .hamburger.is-active .hamburger-inner::after {
      background-color: #f8f8f8; }
  
  .hamburger-box {
    width: 2em;
    height: 1.5em;
    display: inline-block;
    position: relative; }
  
  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px; }
    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
      width: 2em;
      height: 4px;
      background-color: #f8f8f8;
      border-radius: 4px;
      position: absolute;
      transition-property: transform;
      transition-duration: 0.15s;
      transition-timing-function: ease; }
    .hamburger-inner::before, .hamburger-inner::after {
      content: "";
      display: block; }
    .hamburger-inner::before {
      top: -10px; }
    .hamburger-inner::after {
      bottom: -10px; }
  /*
     * Squeeze
     */
  .hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
    .hamburger--squeeze .hamburger-inner::before {
      transition: top 0.075s 0.12s ease, opacity 0.075s ease; }
    .hamburger--squeeze .hamburger-inner::after {
      transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  
  .hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
    .hamburger--squeeze.is-active .hamburger-inner::before {
      top: 0;
      opacity: 0;
      transition: top 0.075s ease, opacity 0.075s 0.12s ease; }
    .hamburger--squeeze.is-active .hamburger-inner::after {
      bottom: 0;
      transform: rotate(-90deg);
      transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }
  
          .invisible {
              display: none;
          }

/* MEDIA QUERIES */
@media (prefers-reduced-motion: no-preference){
    .action_item {
        transform: translateX(-100%);
        transition-property: opacity, transform;
    }

    .zoom {
        transform: translateX(0);
    }
}

@media screen and (min-width:340px) { 
	.hamburger {
  padding: .8em;
	}

    .iconbar img{
        width: 5em;
    }
}


@media screen and (min-width:420px) {
	h1 {
		font-size: 2.25rem;
		text-align: center;
		padding: .5rem .5rem 0 .5rem;
	}
	
	p {
		padding: 1em 2em;
	}

    .button {
        width: 80%;
        max-width: 30ch;
    }

    footer {
        padding: 2em .5em;
    }

    .iconbar {
        margin: 1em;
    }

    .iconbar img{
        width: 3em;
    }

}


@media screen and (min-width:680px) {
	html {
		font-size: 1.15em;
	}
	
    #chapter-logo-wide {
        position: absolute;
        margin: .5rem;
        z-index: 100;
        pointer-events: none;
        display: inline;
    }

    #chapter-logo {
        display: none;
    }

	.hamburger{
		display: none;
	}

	#menu_bar {
		display: flex;
        flex-direction: row;
	}
	
	#menu_bar li {
		padding: .5rem 1rem;
        text-align: left;
        font-family: var(--secondary-isc2-font);
        display: inline;
	}
	
	#body-container {
		padding: 7em 0 3em;
	}
	
    main {
        padding-top: 180px;
    }

    main p {
        max-width: 100ch;
        margin: 0 auto;
    }

    .flex_box_medium {
		display: flex;
		flex-direction: row;
	}
	
    .flex_box_medium > div {
		position: relative;
		flex-basis: 0;
		flex-grow: 1;
	}

    .action_list{
        margin: 0 4rem;
    }
	
    .calloutbox {
        box-shadow: 1em 1em 0px 0px rgb(149, 214, 0, 50%);
        max-width: 70ch;
        padding: 1.5em 3em;
        margin: 0 auto 2rem;
    }

    .tabbar {
        display: inline-flex;
        box-shadow: 1rem 1rem 0px 0px rgb(149, 214, 0, 50%);
        margin: 0 1.5rem;
    }

    .tabbar button {
        width: auto;
    }

    .tabbox {
        border-radius: 0 2rem 2rem 2rem;
        box-shadow: 1rem 1rem 0px 0px rgb(149, 214, 0, 50%);
        margin: 0 1.5rem 3rem;
    }

    .button {
        margin: 1em 0px 1em auto;
        width: auto;
        padding: 1em 3em;
    }

    .articlebox {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
    
    .articleimg {
        min-width: 250px;
        max-width: 500px;
    }

    .articletext {
        min-width: 60%;
    }

    .articletext ul {
        font-style: italic;
    }

    .video_box {
        margin: 2em auto;
        min-width: 350px;
    }

    .flex_box_sm {
        margin: 1em 1em 3em;
        gap: 1.5em;
    }

    .smbox {
        max-width: 60ch;
        flex-direction: row;
    }
	
    footer {
        padding: 2em;
    }

    .iconbar img{
        width: 4em;
    }
}

@media screen and (min-width:960px) {
    html {
		font-size: 1.25em;
	}

    #menu_bar {
        padding: .25rem .25rem .25rem 200px;

    }

	.flex_box_medium, .flex_box_large {
		padding: 0 1em;
	}

    .leftbox {
		margin-right: auto;
        margin-left: 1em;
	}
	
	.rightbox {
		margin-right: 1em ;
        margin-left: auto;
	}

    .action_list{
        margin: 0 6rem;
    }

    .flex_box_large {
		display: inline-flex;
		flex-direction: row;
	}
	
    .flex_box_large > div {
		position: relative;
		flex-basis: 0;
		flex-grow: 1;
	}

    .profilephoto {
        width: 225px;
    }

    .smbox {
        max-width: 450px;
    }
}

